import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Start from "@/views/Start";
import App from '@/App'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component:App,
    redirect: 'Start',
    children:[
      {
        path: '/Home',
        name: 'Home',
        component: Home
      },
      {
        path: '/start',
        name: 'Start',
        component: Start
      }
    ]
},

]

const router = new VueRouter({
  routes
})

export default router
